﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 类和结构
{
    internal class Program
    {
        static void Main(string[] args)
        {

            var myCustomer=new PhoneCustomer();
            var myCustomer11 = new PhoneCustomer();
            var myCustomer2=new PhoneCustomerStruct();
            var myCustomer22 = new PhoneCustomerStruct();
            Console.WriteLine(myCustomer.CustomerID);
            myCustomer11.CustomerID = 22;
            Console.WriteLine(myCustomer.CustomerID);
            Console.WriteLine(myCustomer11.CustomerID);
            Console.WriteLine("-------------");
            Console.WriteLine(myCustomer2.CustomerID);
            myCustomer22.CustomerID = 55;
            Console.WriteLine(myCustomer2.CustomerID);
            Console.WriteLine(myCustomer22.CustomerID);

            Console.WriteLine("-------------");



















            Console.ReadLine();
        }
    }
}
